package com.tuo51.childcare.repository;

import com.tuo51.childcare.domain.bize.BizEvaluateSheet;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BizEvaluateSheetRepository extends JpaRepository<BizEvaluateSheet,String> {

    BizEvaluateSheet getBySheetNameAndDeletedIsFalse(String name);

    List<BizEvaluateSheet> findAllByChannel(int channel);

    List<BizEvaluateSheet> findAllByDeletedIsFalse();

}
